package com.kingwang.training.designpattern.chainofresponsibility.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 请假申请
 */
@Data
@NoArgsConstructor
public class LeaveApplication {
    /**
     * 申请人
     */
    private String applicant;

    private Double leaveDays;

    private LocalDateTime createTime;

    /**
     * 审批人
     */
    private String approver;

    private LocalDateTime approveTime;

    public LeaveApplication(String applicant, Double leaveDays, LocalDateTime createTime) {
        this.applicant = applicant;
        this.leaveDays = leaveDays;
        this.createTime = createTime;
    }
}
